首页顶部

/* 顶部的菜单栏大盒子 */
#nav {
    position: relative;
}

.navtop {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    height: 60px;
    border-bottom: 1px solid skyblue;
    box-sizing: border-box;
    margin-top: 25px;

}

/* 导航图片*/
.img {
    position: absolute;
    top: 0px;
    left: 30px;

}



/*导航的中间文字 */
.menu-text {
    position: absolute;
    width: 1200px;
    left: 50%;
    margin-left: -600px;
    font-size: 16px;

}

.menu-text a {
    position: relative;
}

.menu-text a.on::after {
    content: "";
    position: absolute;
    height: 2px;
    background-color: skyblue;
    bottom: -38px;
    width: 100%;
    left: 50%;
    margin-left: -50%;
}

.menu-text a:hover {
    color: skyblue;
}

.menu-text a {
    display: inline-block;
    color: #ccc;
    margin: 0px 40px;
    font-size: 16px;
}

/* 跳转登录注册页面 */
.navtop .btn a {
    height: 30px;
    color: black;
    margin-right: 10px;
    font-size: 12px;
    text-align: center;
    line-height: 30px;
}

.navtop .btn a:nth-child(1) {
    width: 58px;
    border: 1px solid #ccc;
    border-radius: 29px;
}

.navtop .btn a:nth-child(2) {
    margin-right: 20px;
    width: 76px;
    border: 1px solid #fff;
    border-radius: 36px;
    background-color: orangered;
    color: #fff;
}

/* 按钮列表 */
.api-btn-list a {
    padding: 5px 15px;
    border: 1px solid #999;
    margin-right: 15px;
    margin-top: 10px;
    display: inline-block;
    color: #999;
    border-radius: 5px;
}

/* 被点中的样式 */
.api-btn-list .active {
    color: blue;
    border: 1px solid blue;
}

/* 加粗的样式 */
.api-btn-list .bold {
    font-weight: bold;
}

label.container {
    display: block;
    margin: 30px auto;
}

/* api列表 */
.api-list li {
    width: 228px;
    height: 268px;
    border: 1px solid #999;
    box-sizing: border-box;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
    padding-top: 56px;
    transition: all 0.5s;
}

.api-list li:nth-child(5n) {
    margin-right: 0;
}

.api-list li span {
    font-size: 14px;
    color: #00bdff;
    background: #e5f8ff;
    position: absolute;
    top: 10px;
    left: 10px;
}

.api-list .title {
    font-size: 16px;
    color: #666666;
    margin: 15px 0 10px 0;
}

.api-list .price {
    font-size: 18px;
}

.red {
    color: red;
}

.green {
    color: green;
}

.api-list button {
    width: 192px;
    height: 32px;
    background: #00bdff;
    color: #fff;
    border: none;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

.api-list li:hover {
    padding-top: 36px;
}

.api-list li:hover button {
    bottom: 20px;
    transition: all 0.5s;
    opacity: 1;
}

/* 分页数 */
.pages-list {
    margin-top: 30px;
    margin-bottom: 35px;
    width: 410px;

    text-align: center;

}

.pages-list a {
    width: 25px;
    line-height: 25px;
    display: inline-block;
    border-radius: 50%;
    color: black;
    text-align: center;


}

.pages-list a:hover {
    background-color: #52d5ff;
    color: #fff;
}

.pages-list a:last-child {
    border: 0;
    border-radius: 0;
    width: 60px;
    color: #52d5ff;
}

.pages-list a:last-child:hover {
    background-color: transparent;
}

.pages-list a.on {
    background-color: #52d5ff;
    color: #fff;
}